//package com.plian.system.controller.zzd.sys;
//
//import com.plian.system.config.HasGZWRole;
//import com.plian.system.dto.zzd.ZZDIndicatorsQuery;
//import com.plian.system.dto.zzd.ZZDQuery;
//import com.plian.system.enumeratea.ZZDIndicatorsEnum;
//import com.plian.system.model.R;
//import com.plian.system.service.zzd.IZZDSystemService;
//import com.plian.system.vo.zzd.sys.IndicatorsInfoVO;
//import com.plian.system.vo.zzd.sys.OverviewIndicatorsValueVO;
//import com.plian.system.vo.zzd.sys.QueryDataVO;
//import com.plian.system.vo.zzd.sys.QueryDetailVO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
//@HasGZWRole
//@RestController
//@RequestMapping(value = "api/zzd/system")
//@Api(value = "浙政钉-系统相关", tags = "浙政钉-系统相关接口")
//public class ZZDSystemController {
//
//    @Autowired
//    private IZZDSystemService zzdSystemService;
//
//
//    @PostMapping("/search")
//    @ApiOperation(value = "搜索")
//    public R<List<QueryDataVO>> search(@RequestBody @Validated ({ZZDQuery.KeywordGroup.class})ZZDQuery zzdQuery){
//        return R.data(zzdSystemService.search(zzdQuery));
//    }
//
//    @PostMapping("/search-detail")
//    @ApiOperation(value = "搜索详情")
//    public R<QueryDetailVO> searchDetail(@RequestBody @Validated QueryDataVO queryDataVO){
//        return R.data(zzdSystemService.searchDetail(queryDataVO));
//    }
//
//    @GetMapping("/indicators-list")
//    @ApiOperation(value = "指标列表")
//    public R<List<IndicatorsInfoVO>> indicatorsList(){
//        return R.data(ZZDIndicatorsEnum.getAllIndicatorsInfo());
//    }
//
//    @PostMapping("/indicators-detail")
//    @ApiOperation(value = "指标详情")
//    public R<OverviewIndicatorsValueVO> indicatorsDetail(@RequestBody @Validated ZZDIndicatorsQuery zzdIndicatorsQuery){
//        return R.data(zzdSystemService.indicatorsDetail(zzdIndicatorsQuery));
//    }
//
//}
